package jnpf.model.dify.file.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 创建分段
 * @author zpw
 */
@Data
@ApiModel("创建分段")
public class CreateSegmentsReq  {
    List<Segments> segments;
    @Data
    public static class Segments{
        @ApiModelProperty("文本内容/问题内容")
        public  String content;
        @ApiModelProperty("答案内容")
        public  String answer ;
        @ApiModelProperty("关键字")
        public List<String> keywords;
    }
}
